#!/bin/bash

source ../../../env.sh 

mypath=$(pwd)
CROSS=/opt/dspg/v1.3.4-rc4/sysroots/x86_64-dspg-linux/usr/bin/armv5te-dspg-linux-uclibceabi/arm-dspg-linux-uclibceabi-

./configure   --host=arm-dspg-linux-uclibceabi   --prefix=${mypath}/../../rootfs/usr  CC=${CROSS}gcc CPP=${CROSS}cpp CXX=${CROSS}g++ 







cd /home/wml/prj_ipv6_trunk_sqhfs/dvf99/tools/openlldp-0.5alpha && cp -fr /mnt/wml/source/prj_ipv6_squfsh/dvf99/tools/openlldp-0.5alpha/*   /home/wml/prj_ipv6_trunk_sqhfs/dvf99/tools/openlldp-0.5alpha && make clean && make





cd /home/wml/prj_ipv6_trunk_sqhfs/dvf99/tools/toolstart  && cp -fr /mnt/wml/source/prj_ipv6_squfsh/dvf99/tools/toolstart/*   /home/wml/prj_ipv6_trunk_sqhfs/dvf99/tools/toolstart && make clean && make



ifconfig eth0 192.168.17.4 netmask 255.255.255.0
cd /tmp && rm -fr lldpd && wget ftp://192.168.17.39/lldpd && chmod 777 -R . && ./lldpd
